var Maths = artifacts.require("./Math.sol")
var EventList = artifacts.require("./EventList.sol")
var Event = artifacts.require("./Event.sol")
var EventFactory = artifacts.require("./EventFactory.sol")

module.exports = function(deployer) {
  deployer.deploy(Maths)
  // deployer.link(Maths, EventFactory)
  // deployer.deploy(EventList).then(function(){
  //   return deployer.deploy(EventFactory, EventList.address)
  // })

  deployer.link(Maths, Event)
  deployer.deploy(Event, '1', '2', ['0x0', '0x1', '0x2'])
}
